package org.maggioni.springmvcsandbox.airport.services.impl;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.maggioni.springmvcsandbox.airport.model.Airport;
import org.maggioni.springmvcsandbox.airport.model.Flight;
import org.maggioni.springmvcsandbox.airport.model.SpecialDeal;
import org.maggioni.springmvcsandbox.airport.services.FlightService;

public class DummyFlightService implements FlightService {

	@Override
	public List<SpecialDeal> getSpecialDeals() {
		List<SpecialDeal> specialDeals = new ArrayList<SpecialDeal>();
		Airport malpensa = new Airport("MAL", "Malpensa");
		Airport linate = new Airport("LIN", "Linate");
		specialDeals.add(new SpecialDeal(malpensa, linate, new BigDecimal(10), new Date(), new Date()));
		return specialDeals;
	}

	@Override
	public List<Flight> findFlights() {
		// TODO Auto-generated method stub
		return null;
	}

}
